API Documentation
GlobalTimer.h
1 // GlobalTimer.h
3 //
5 
6 namespace nkGraphics
7 {
11  class DLL_GRAPHICS_EXPORT GlobalTimer
12  {
13  public :
14 
23 
24  // Setters
30  void setModuloTime (DWORD moduloTime) ;
34  void updateFrameTime () ;
38  unsigned long getDeltaTime () const ;
42  unsigned long getFrameTime () const ;
43 
47  unsigned long getCurrentModuloTime () const ;
51  unsigned long getCurrentModulo () const ;
55  bool getLoopedSinceLastTime () const ;
56 
60  int getCurrentYear () ;
64  int getCurrentMonth () ;
68  int getCurrentDay () ;
72  int getCurrentHour () ;
76  int getCurrentMin () ;
80  int getCurrentSec () ;
81  } ;
82 }
nkGraphics::GlobalTimer::getFrameTime
unsigned long getFrameTime() const
nkGraphics::GlobalTimer::getLoopedSinceLastTime
bool getLoopedSinceLastTime() const
nkGraphics::GlobalTimer::~GlobalTimer
~GlobalTimer()
nkGraphics::GlobalTimer::getCurrentMin
int getCurrentMin()
nkGraphics::GlobalTimer::getCurrentSec
int getCurrentSec()
nkGraphics::GlobalTimer::getDeltaTime
unsigned long getDeltaTime() const
nkGraphics::GlobalTimer::getCurrentHour
int getCurrentHour()
nkGraphics::GlobalTimer::getCurrentDay
int getCurrentDay()
nkGraphics::GlobalTimer::getCurrentYear
int getCurrentYear()
nkGraphics::GlobalTimer::getCurrentModuloTime
unsigned long getCurrentModuloTime() const
nkGraphics::GlobalTimer::GlobalTimer
GlobalTimer()
nkGraphics::GlobalTimer::updateFrameTime
void updateFrameTime()
nkGraphics::GlobalTimer::getCurrentMonth
int getCurrentMonth()
nkGraphics::GlobalTimer
A timer, giving time capabilities.
Definition: GlobalTimer.h:12
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::GlobalTimer::setModuloTime
void setModuloTime(DWORD moduloTime)
nkGraphics::GlobalTimer::getCurrentModulo
unsigned long getCurrentModulo() const